package com.wuqing.mybatisredisdemo.mapper;

import com.wuqing.mybatisredisdemo.entity.Class;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 卢文昊
 * @since 2021-08-10
 */
public interface ClassMapper extends BaseMapper<Class> {

    int updateNameById(@Param("id") Integer id,
                       @Param("name") String name);
}
